package com.yanghui.agent.agent.springboot.c.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("t_user")
public class User extends Entity{

    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    private String name;
    private String password;

    @TableField(exist = false)
    private Integer num;
}
